package com.tsing.pojo.entity;

import java.time.LocalDateTime;

public class WmUser {

  private Long id;
  private Long apUserId;
  private Long apAuthorId;
  private String name;
  private String password;
  private String salt;
  private String nickname;
  private String image;
  private String location;
  private String phone;
  private Integer status;
  private String email;
  private Integer type;
  private Integer score;
  private LocalDateTime loginTime;
  private LocalDateTime createdTime;

  public WmUser() {
  }

  public WmUser(Long id, Long apUserId, Long apAuthorId, String name, String password, String salt, String nickname, String image, String location, String phone, Integer status, String email, Integer type, Integer score, LocalDateTime loginTime, LocalDateTime createdTime) {
    this.id = id;
    this.apUserId = apUserId;
    this.apAuthorId = apAuthorId;
    this.name = name;
    this.password = password;
    this.salt = salt;
    this.nickname = nickname;
    this.image = image;
    this.location = location;
    this.phone = phone;
    this.status = status;
    this.email = email;
    this.type = type;
    this.score = score;
    this.loginTime = loginTime;
    this.createdTime = createdTime;
  }

  /**
   * 获取
   * @return id
   */
  public Long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(Long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return apUserId
   */
  public Long getApUserId() {
    return apUserId;
  }

  /**
   * 设置
   * @param apUserId
   */
  public void setApUserId(Long apUserId) {
    this.apUserId = apUserId;
  }

  /**
   * 获取
   * @return apAuthorId
   */
  public Long getApAuthorId() {
    return apAuthorId;
  }

  /**
   * 设置
   * @param apAuthorId
   */
  public void setApAuthorId(Long apAuthorId) {
    this.apAuthorId = apAuthorId;
  }

  /**
   * 获取
   * @return name
   */
  public String getName() {
    return name;
  }

  /**
   * 设置
   * @param name
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * 获取
   * @return password
   */
  public String getPassword() {
    return password;
  }

  /**
   * 设置
   * @param password
   */
  public void setPassword(String password) {
    this.password = password;
  }

  /**
   * 获取
   * @return salt
   */
  public String getSalt() {
    return salt;
  }

  /**
   * 设置
   * @param salt
   */
  public void setSalt(String salt) {
    this.salt = salt;
  }

  /**
   * 获取
   * @return nickname
   */
  public String getNickname() {
    return nickname;
  }

  /**
   * 设置
   * @param nickname
   */
  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  /**
   * 获取
   * @return image
   */
  public String getImage() {
    return image;
  }

  /**
   * 设置
   * @param image
   */
  public void setImage(String image) {
    this.image = image;
  }

  /**
   * 获取
   * @return location
   */
  public String getLocation() {
    return location;
  }

  /**
   * 设置
   * @param location
   */
  public void setLocation(String location) {
    this.location = location;
  }

  /**
   * 获取
   * @return phone
   */
  public String getPhone() {
    return phone;
  }

  /**
   * 设置
   * @param phone
   */
  public void setPhone(String phone) {
    this.phone = phone;
  }

  /**
   * 获取
   * @return status
   */
  public Integer getStatus() {
    return status;
  }

  /**
   * 设置
   * @param status
   */
  public void setStatus(Integer status) {
    this.status = status;
  }

  /**
   * 获取
   * @return email
   */
  public String getEmail() {
    return email;
  }

  /**
   * 设置
   * @param email
   */
  public void setEmail(String email) {
    this.email = email;
  }

  /**
   * 获取
   * @return type
   */
  public Integer getType() {
    return type;
  }

  /**
   * 设置
   * @param type
   */
  public void setType(Integer type) {
    this.type = type;
  }

  /**
   * 获取
   * @return score
   */
  public Integer getScore() {
    return score;
  }

  /**
   * 设置
   * @param score
   */
  public void setScore(Integer score) {
    this.score = score;
  }

  /**
   * 获取
   * @return loginTime
   */
  public LocalDateTime getLoginTime() {
    return loginTime;
  }

  /**
   * 设置
   * @param loginTime
   */
  public void setLoginTime(LocalDateTime loginTime) {
    this.loginTime = loginTime;
  }

  /**
   * 获取
   * @return createdTime
   */
  public LocalDateTime getCreatedTime() {
    return createdTime;
  }

  /**
   * 设置
   * @param createdTime
   */
  public void setCreatedTime(LocalDateTime createdTime) {
    this.createdTime = createdTime;
  }

  public String toString() {
    return "WmUser{id = " + id + ", apUserId = " + apUserId + ", apAuthorId = " + apAuthorId + ", name = " + name + ", password = " + password + ", salt = " + salt + ", nickname = " + nickname + ", image = " + image + ", location = " + location + ", phone = " + phone + ", status = " + status + ", email = " + email + ", type = " + type + ", score = " + score + ", loginTime = " + loginTime + ", createdTime = " + createdTime + "}";
  }
}
